package com.ysd.lis.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.Result;
import com.ysd.lis.dto.SysUserDeptDto;
import com.ysd.lis.entity.SysUserDepartment;
import com.ysd.lis.request.CommonPageDto;

import java.util.List;

/**
 * <p>
 * 用户授权科室关系表 服务类
 * </p>
 *
 * @author prs
 * @since 2024-12-13
 */
public interface SysUserDepartmentService extends IService<SysUserDepartment> {

    Result findSysUserDepartmentList(String userId);
    Result addSysUserDepartment (SysUserDepartment sysUserDepartment);

    Result addBatchSysUserDepartment (List<SysUserDepartment> sysUserDepartments);

    Result deleteSysUserDepartment(SysUserDepartment sysUserDepartment);

    Result findUserDepartmentList(CommonPageDto pageParam);

    Result batchDeleteUserDepartmentList(SysUserDeptDto dto);

    Result batchAddSysUserDepartList(SysUserDeptDto dto);
}
